package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruibang.glass.produce.domain.req.HotSingleBoardDefectReq;
import com.ruibang.glass.produce.domain.req.StirringRodTrendChart;
import com.ruibang.glass.produce.domain.resp.HotSingleBoardDefectSummary;
import com.ruibang.glass.produce.domain.resp.HotSingleBoardDefectTrendChart;
import com.ruibang.glass.produce.domain.resp.HotSingleBoardFlowTrendChart;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface HotSingleBoardDefectService {
    HotSingleBoardDefectSummary defectSummary(HotSingleBoardDefectReq hotSingleBoardDefectReq);

    HotSingleBoardDefectTrendChart defectQuantityTrendChart(HotSingleBoardDefectReq hotSingleBoardDefectReq);

    IPage<HotSingleBoardDefectSummary> pageQuery(HotSingleBoardDefectReq hotSingleBoardDefectReq);

    List<HotSingleBoardFlowTrendChart> flowTrendChart(HotSingleBoardDefectReq hotSingleBoardDefectReq);

    List<StirringRodTrendChart> stirringRodTrendChart(HotSingleBoardDefectReq hotSingleBoardDefectReq);

    void export(HotSingleBoardDefectReq hotSingleBoardDefectReq, HttpServletResponse response);
}
